package com.zxl.model;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@Table(name = "da_dev_flow_link")
public class DaDevFlowLink {

    @Id
    @Column(name = "ID")
    @KeySql(sql = "select nextval('id_da_dev_flow_link_seq'::regclass)", order = ORDER.BEFORE)
    private Integer id;

    @Column(name = "FROM_FLOW_ID")
    private Integer fromFlowId;

    @Column(name = "TO_FLOW_ID")
    private Integer toFlowId;
}
